package com.cisdi.info;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;

@SpringBootApplication(scanBasePackages = {"com.cisdi.info.mh.*","com.cisdi.info.simple.service.*","com.cisdi.info.simple.dao.*"}, exclude = {SecurityAutoConfiguration.class})
@EntityScan("com.cisdi.info.*")
@EnableDiscoveryClient(autoRegister = false)
@EnableRedisHttpSession

public class MhApplication {

    public static void main(String[] args) {
        SpringApplication.run(MhApplication.class, args);

    }
}
